#include<iostream>
using namespace std;
class Base{
    public:
    Base()
    {
        cout<<"base construct"<<endl;
    }
public:
    virtual void printTest()
    {
        cout<<"base print test"<<endl;
    }
};

class Child:public Base{
    public:
    Child():Base(){
        cout<<"child construct"<<endl;
    }
    public:
    virtual void printTest() override
    {
        cout<<"child print test"<<endl;
    }
    void printTest1()
    {
        cout<<"child print test1"<<endl;
    }
};